package com.trg.designmodel.adapter.classAdapter;

/**
 * @ClassName: Client
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/6 10:31
 * @Version: 1.0
 * @Return:
 **/
public class Client {
    public static void main(String[] args) {
        System.out.println("类适配器模式。。");
        ApplePhone phone = new ApplePhone();
        VoltageAdapter voltageAdapter = new VoltageAdapter();
        phone.charging(voltageAdapter);
    }
}
